package o;

import java.util.Arrays;

public class eh {
    private static int ˊॱ = 1;
    private static int ˋॱ = 1;
    private static int ˏॱ = 1;
    private static int ॱˊ = 1;
    private static int ॱॱ = 1;
    int ʻ = 0;
    ec[] ʼ = new ec[8];
    d ʽ;
    float[] ˊ = new float[7];
    public int ˋ = -1;
    public float ˎ;
    public int ˏ = 0;
    private String ͺ;
    int ॱ = -1;
    public int ᐝ = 0;

    public enum d {
        UNRESTRICTED,
        CONSTANT,
        SLACK,
        ERROR,
        ॱ
    }

    static void ˏ() {
        ˏॱ++;
    }

    public eh(d dVar, String str) {
        this.ʽ = dVar;
    }

    public final void ॱ(ec ecVar) {
        int i = 0;
        while (i < this.ʻ) {
            if (this.ʼ[i] != ecVar) {
                i++;
            } else {
                return;
            }
        }
        if (this.ʻ >= this.ʼ.length) {
            this.ʼ = (ec[]) Arrays.copyOf(this.ʼ, this.ʼ.length * 2);
        }
        this.ʼ[this.ʻ] = ecVar;
        this.ʻ++;
    }

    public final void ˏ(ec ecVar) {
        int i = 0;
        int i2 = this.ʻ;
        for (int i3 = 0; i3 < i2; i3++) {
            if (this.ʼ[i3] == ecVar) {
                while (i < (i2 - i3) - 1) {
                    this.ʼ[i3 + i] = this.ʼ[(i3 + i) + 1];
                    i++;
                }
                this.ʻ--;
                return;
            }
        }
    }

    public final void ˋ(ec ecVar) {
        int i = this.ʻ;
        for (int i2 = 0; i2 < i; i2++) {
            this.ʼ[i2].ˋ.ˋ(this.ʼ[i2], ecVar, false);
        }
        this.ʻ = 0;
    }

    public void ˎ() {
        this.ͺ = null;
        this.ʽ = d.ॱ;
        this.ˏ = 0;
        this.ˋ = -1;
        this.ॱ = -1;
        this.ˎ = 0.0f;
        this.ʻ = 0;
        this.ᐝ = 0;
    }

    public void ˏ(d dVar, String str) {
        this.ʽ = dVar;
    }

    public String toString() {
        return "" + this.ͺ;
    }
}
